﻿using Basic.FlowApplication.Interface;
using Basic.FlowRemoteModel.Application;
using WeDonekRpc.Client.Interface;

namespace Basic.FlowApplication.RpcEvent
{
    internal class AuditSignLogEvent : IRpcApiService
    {
        private readonly IAuditSignLogService _Service;

        public AuditSignLogEvent ( IAuditSignLogService service )
        {
            this._Service = service;
        }

        public void AddAuditSignLog ( AddAuditSignLog obj )
        {
            this._Service.TryAdd(obj.Data);
        }
    }
}
